// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

    package com.fowo.api.mapper;
    
    import com.baomidou.mybatisplus.core.mapper.BaseMapper;
    import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
    import com.fowo.api.entity.InventoryPlacementR;
    import com.fowo.api.model.inventory.placement.r.InventoryPlacementRVo;
    import com.fowo.api.model.inventory.placement.r.InventoryPlacementRItemVo;
    import com.fowo.api.model.inventory.placement.r.InventoryPlacementRSearchParamPo;
    
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.fowo.api.common.model.OptionItem;
import java.util.Date;
import java.util.Map;

@Mapper
    public interface InventoryPlacementRMapper extends BaseMapper<InventoryPlacementR> {
Page<InventoryPlacementRItemVo> pageSearch(@Param("page") Page page, @Param("search") InventoryPlacementRSearchParamPo search);
List<OptionItem<InventoryPlacementRItemVo>> searchOptions(@Param("search") InventoryPlacementRSearchParamPo search);
List<InventoryPlacementRItemVo> search(@Param("search") InventoryPlacementRSearchParamPo search);
Date searchLastUpdateTime(@Param("search") InventoryPlacementRSearchParamPo search);
/**
    * 搜索满足条件的所有记录的编号列表
    * @param search 搜索参数
    * @return 编号列表
    */
List<Long> searchIds(@Param("search") InventoryPlacementRSearchParamPo search);
/**
    * 搜索满足条件的记录数量
    * @param search 搜索参数
    * @return 记录数量
    */
Long searchCount(@Param("search") InventoryPlacementRSearchParamPo search);

        List<Long> getIdsById(@Param("list") List<Long> list);
            
        Long getIdById(@Param("id") Long id);
    
        List<Map<String, Object>> getIdByIds(@Param("ids") List<Long> ids);
InventoryPlacementRVo selectVoById(@Param("id") Long id);
}
